<template>
  <!-- 绑定active高亮 -->
  <van-tabbar v-model="active" route>
    <van-tabbar-item icon="home-o" to="/">首页</van-tabbar-item>
    <van-tabbar-item icon="search" to="/join">加盟</van-tabbar-item>
    <van-tabbar-item icon="friends-o" to="/consult">资讯</van-tabbar-item>
    <van-tabbar-item icon="setting-o" to="/agency">代理</van-tabbar-item>
  </van-tabbar>
</template>

<script>
export default {
  data() {
    return {
      active: 1,
    }
  },
}
</script>

<style lang="less" scoped>
.van-tabbar {
  height: 48px;
}
</style>
